翻訳と辞書
Words near each other
・ IdentiGEN
・ Identikit (album)
・ Identisick
・ Identitarian movement
・ Identitet
・ Identity
・ Identity (3T album)
・ Identity (BoA album)
・ Identity (Burn Notice)
・ Identity (EP)
・ Identity (film)
・ Identity (game show)
・ Identity (mathematics)
・ Identity (music)
・ Identity (novel)
Identity (object-oriented programming)
・ Identity (philosophy)
・ Identity (Raghav album)
・ Identity (Robert Pierre album)
・ Identity (Sakanaction song)
・ Identity (social science)
・ Identity (TV series)
・ Identity (Zee album)
・ Identity 2.0
・ Identity 3.0
・ Identity and Action
・ Identity and change
・ Identity and Language Learning
・ Identity assurance
・ Identity based motivation


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Identity (object-oriented programming) : ウィキペディア英語版
Identity (object-oriented programming)
An identity in object-oriented programming, object-oriented design and object-oriented analysis describes the property of objects that distinguishes them from other objects. This is closely related to the philosophical concept of identity.
== Identity and references ==

A reference can be used to refer to an object with a specific identity. A reference contains the information that is necessary for the identity property to be realized in the programming language, and allows access to the object with the identity. A type of a target of a reference is a role. Typically, references are isomorphic to memory addresses. However, multiple such references can refer to the same object, if some form of address mapping is present (virtual addresses / page tables / memory segments).
Object identity is less useful as a semantic concept in environments or situations in which the structure of objects is not encapsulated, and two objects are considered to be the same object based on having identical properties, even if they are not actually the same physical instance (structural equivalence). However, object identity can nevertheless provide optimization. A function which tests whether two arguments are the same object can quickly short circuit to an affirmative answer if the two arguments have the same identity (are references to the same instance). Only if the argument are distinct objects do the individual properties need to be considered to determine equality, which is a more expensive operation. For instance, bignum integers may be heap-allocated objects such that two bignums are considered to be the same if they represent the same number. It would be a waste of machine cycles in the equality function not to take advantage of the discovery that the two arguments being compared are references to the same bignum.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Identity (object-oriented programming)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.